import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
import user from './modules/user.js'
import config from './modules/config.js'
import order from './modules/order.js'
import goods from './modules/goods.js'
import push from './modules/push.js'
import lang from './modules/lang.js'
import applePay from './modules/applePay.js'

const store = new Vuex.Store({
	modules: {
		user,
		config,
		order,
		goods,
		lang,
		applePay
	}
})

export default store
